package com.zy.garbage.repository;

import com.zy.garbage.entity.Exam;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ExamRepository extends JpaRepository<Exam,Integer> {
    List<Exam> findAllByExamSn(String examSn);
    List<Exam> findAllByUserId(Integer userId);
}
